package com.mingqijia.gassafety.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingqijia.gassafety.db.entity.BusinessNotice;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务通知规则表 Mapper 接口
 * </p>
 *
 * @author wanghai
 * @since 2022-04-28
 */
@Repository
@Mapper
public interface BusinessNoticeMapper extends BaseMapper<BusinessNotice> {
    /**
     * 后台业务配置列表使用
     * @param param
     * @return
     */
    List<Map<String, Object>> getList(Map<String,Object> param);
    
    int selectCountTotal(Map<String, Object> param);

    List<BusinessNotice> selectParamList(Map<String,Object> param);

    List<BusinessNotice> selectParamCode(String paramCode);
}
